package com.nowcoder.community.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author mutou
 * @date 2024-08-17 22:11:26
 * @TableName message
 */
@Data
public class Message implements Serializable {
    private int id;
    private int fromId;
    private int toId;
    private String conversationId;
    private String content;
    /**
     * 0-未读;1-已读;2-删除;
     */
    private int status;
    private Date createTime;

    @Serial
    private static final long serialVersionUID = 1L;
}